gtkstack: reorder size_allocate and move_window
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 2 Nov 2016 09:08:17 +0000 (10:08 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 14 Nov 2016 11:24:18 +0000 (12:24 +0100)
commit03b8a8a880561fc4389dfd648477905ee6cfbecb
tree827685e1ae0c0a57b42b9f8faaea38de631a4f90
parent4ae1eab3b1b90417ab7b5a5d7fd441fca0164287
gtkstack: reorder size_allocate and move_window

Unlike other container widgets, GtkStack would allocate its children
prior to moving its windows, which might prevent further valid size
allocation signals to be emitted.

Re-order the size allocation of child widgets to be performed after
moving the GtkStack windows.

Thanks to Owen for spotting the real issue here.

https://bugzilla.gnome.org/show_bug.cgi?id=767713
gtk/gtkstack.c